package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.IndexWeightBean;

/**
* 描述：获取各类指数成分和权重，
* @author: codesmith
**/
@Data
@TableName("index_weight")
public class IndexWeightEntity implements IndexWeightBean {
    
    /*
    * 指数代码
    */
    @TableId
    @TableField("`index_code`") protected String indexCode;
    /*
    * 成分代码
    */
    @TableId
    @TableField("`con_code`") protected String conCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`weight`") protected Double weight;
}